package com.wayhome.srpingbootmybatis.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
//@RefreshScope
public class PropertiesConfig {

    @Value("#{'${hilist-q-code:Q01000000,Q04000001,Q03000000,Q04000002,Q02000000}'.split(',')}")
    private List<String> hilistQcode;

    public List<String> getHilistQcode() {
        return hilistQcode;
    }

    public void setHilistQcode(List<String> hilistQcode) {
        this.hilistQcode = hilistQcode;
    }
}